<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>

</h:head>
<h:body>
	<h:panelGroup rendered="#{sessaoMB.usuario.professor}">

		<h:outputStylesheet library="css" name="base.css" />
		<div class="barra"></div>

		<div class="container">
			<div class="distance">
				<img src="#{resource['images:logomini.png']}" alt="logo localab" />
				<div class="boneco">
					<img src="#{resource['images:boneco.png']}" alt="imagem" />
					<p>Bem vindo!</p>
				</div>
				<div class="menu">
					<p:menubar style="font-size:11px; border:none;">

						<p:menuitem value="Início " url="/professor/home.jsf"
							icon="ui-icon-home" />

						<p:submenu label="Reservas" icon="ui-icon-contact">


							<p:submenu label="Reserva de Ambiente">
								<p:menuitem value="Nova"
									url="/professor/reservaambiente/cadastro.jsf"
									icon="ui-icon-plus" />
								<p:menuitem value="Listagem"
									url="/professor/reservaambiente/listagem.jsf"
									icon="ui-icon-clipboard" />
							</p:submenu>

							<p:submenu label="Reserva de Equipamento">
								<p:menuitem value="Nova"
									url="/professor/reservaequipamento/cadastro.jsf"
									icon="ui-icon-plus" />
								<p:menuitem value="Listagem"
									url="/professor/reservaequipamento/listagem.jsf"
									icon="ui-icon-clipboard" />
							</p:submenu>


						</p:submenu>


						<p:menuitem value="Sobre " url="/professor/sobre.jsf"
							icon="ui-icon-notice" />

						<p:menuitem value="Sair "
							actionListener="#{destruir_sessao_encaminhar}" url="/login.jsf"
							icon="ui-icon-power" />


					</p:menubar>
				</div>
			</div>
		</div>
	</h:panelGroup>
</h:body>
</html>